* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 18px;
  font-family: '楷体';
}

div {
  width: 920px;
  height: 70px;
  margin: 50px auto;
  background: url(img/1.png) repeat-x left bottom;
  /* 背景图片的定位 */
}

div ul {
  margin: 0px 10px;
}

div ul li {
  float: left;
  list-style: none;
  font-size: 16px;
  width: 100px;
  height: 60px;
}

div ul li a {
  text-decoration: none;
  color: black;
  display: block;
  width: 100px;
  height: 60px;
  line-height: 70px;
  text-align: center;
  transition: all 1s;
  border-left: 1px solid white;
}

div ul li a:hover {
  /* font-size: 20px; */
  /* color: #409EFF; */
  background-image: url(img/2.png);
}

.active {
  font-size: 20px;
  color: #409EFF;
  background-image: url(img/2.png);
}